<template>
  <img ref="imgRef" :src="banner1" class="home-banner-img" alt="">
  <!-- <el-carousel height="auto" arrow="never">
    <el-carousel-item v-for="(item, index) in bannerList" :key="index" style="height:auto">
      <img ref="imgRef" :src="item.img" class="home-banner-img" alt="">
    </el-carousel-item>
  </el-carousel> -->
</template>

<script setup>
import banner1 from '@/assets/images/home/banner_1.jpg'
// import banner2 from '@/assets/images/home/banner_2.jpg'
// import banner3 from '@/assets/images/home/banner_3.jpg'
const bannerList = [
  { img: banner1 },
  // { img: banner2 },
  // { img: banner3 },
]
</script>

<style lang="scss" scoped>
.home-banner-img {
  width: 100%;
}
// .el-carousel {
//   width: 100%;
//   .home-banner-img {
//     width: 100%;
//   }
// }
</style>